You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="14" ns="0" title="Main Page">
        <revisions>
          <rev user="Eagle" timestamp="2016-12-10T18:56:07Z" comment="Eagle moved page [[Main Page]] to [[Phyllis Schlafly Eagles]]" contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">#REDIRECT [[Phyllis Schlafly Eagles]]</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>